From: Glenn Morris Date: Tue, 1 Sep 2009 03:17:03 +0000 (+0000) Subject: (browse-url-file-url): Use default-value rather than X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10729 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9dac9875c4ac82c0f98730d477b4e4fc8854a03f;p=emacs.git (browse-url-file-url): Use default-value rather than default-enable-multibyte-characters. --- diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 992a081fefd..6f180341f36 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -699,7 +699,7 @@ interactively. Turn the filename into a URL with function (defun browse-url-file-url (file) "Return the URL corresponding to FILE. Use variable `browse-url-filename-alist' to map filenames to URLs." - (let ((coding (and default-enable-multibyte-characters + (let ((coding (and (default-value 'enable-multibyte-characters) (or file-name-coding-system default-file-name-coding-system)))) (if coding (setq file (encode-coding-string file coding))))